/**
 * @file App_OtaUDSUpgradeMain.c
 * @author your name (you@domain.com)
 * @brief 
 * @version 0.1
 * @date 2023-08-05
 * 
 * @copyright Copyright (c) 2023
 * 
 */

#ifndef _APP_OTA_UDS_UPGRADE_MAIN_H__
#define _APP_OTA_UDS_UPGRADE_MAIN_H__

#define UDS_RQID_BMS 0x101
#define UDS_RPID_BMS 0x601

#define UDS_RQID_MCU 0x102
#define UDS_RPID_MCU 0x602

#define UDS_RQID_BCM 0x109
#define UDS_RPID_BCM 0x609

#define UDS_RQID_VCU 0x7E0
#define UDS_RPID_VCU 0x7E8

#define UDS_RQID_TBOX 0x10D
#define UDS_RPID_TBOX 0x60D

#define UDS_RQID_IP 0x111
#define UDS_RPID_IP 0x611

#define UDS_RQID_OBC 0x113
#define UDS_RPID_OBC 0x613

#define UDS_RQID_FUN 0x7DF


typedef enum{
    Ota_UDS_ERR = -1,                 // 通用错误
    Ota_UDS_OK = 0,                   // 成功   
    Ota_UDS_GET_LEN_OUT_OF_RANGE, //获取大小超出限制 
}Ota_UDSErrType;

#ifdef PARTFROM_AC7
void Ota_UDSUpgrade_GANFENGBMSSquence_MainLoop(void);
void Ota_UDSUpgrade_YingJiLieMCUSquence_MainLoop(void);
void Ota_UDSUpgradeFor_AnpeiMCUSquence_MainLoop(void);
#endif 
#ifdef PARTFROM_AC8
void Ota_UDSUpgrade_AC08_MainLoop(void);
void Ota_UDSUpgrade_AC08OBC_MainLoop(void);
#endif
//void Ota_UDSUpgradeFor_AnpeiMCU_MainLoop(void);
//void OTA_UDSTest();



#endif
